.dmui-dialog{
    box-sizing: border-box;
    position: fixed;
    z-index: 1000;
    width: 100%;
    height: 100%;
    padding: 8%;
    top:0;
    left:0;
    background: rgba(0,0,0, .3);
    overflow-y: auto;
}
.dmui-dialog.show{
    display: block;
}
.dmui-dialog.hide{
    display: none;
}
.dmui-dialog-box{
    max-width: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    min-height: 100px;
    background: #fff;
    border-radius: 16px;
    margin: 10% auto 0;
    box-shadow: 0 5px 15px rgba(0,0,0,.3);
    position: relative;
    box-sizing: border-box;
}
.dmui-dialog-hasHeader{
    padding-top: 3rem;
}
.dmui-dialog-hasFooter{
    padding-bottom: 3rem;
}
.dmui-dialog-header,
.dmui-dialog-footer{
    position: absolute;
    left: 0;
    width: 100%;
    padding: 0.5rem 1rem;
}
.dmui-dialog-header{top: 0;}
.dmui-dialog-footer{bottom: 0;}
.dmui-dialog-body{
    width: 100%;
    height: 100%;
    box-sizing: border-box;
}
#J_dmui-dialog-alert{
  transition: opacity linear 0.5s;
  -webkit-transition: opacity linear 0.5s;
}
#J_dmui-dialog-alert .dmui-dialog-box{
    background: transparent;
}
.dmui-dialog-alert{
    padding: 2.5rem 1rem 0;
    box-sizing: border-box;
    word-wrap: break-word;
    min-height: 100px;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.8);
    color: #fff;
}


.dmui-dialog-confirm{
    padding: 2rem 1rem 2.5rem;
}
.confirm-title{
    font-weight: 600;
    margin: 0;
    padding: 1rem 0;
}
.confirm-footer{
    overflow: hidden;
    margin-left: -1rem;
    margin-right: -1rem;
    margin-bottom: -0.5rem;
}
.confirm-footer>span{
    width: 50%;
    float: left;
    box-sizing: border-box;
    text-align: center;
    padding: 0.8rem 0;
    border-top: 1px solid #ddd;
    color: #057CFF;
    font-weight: 600;
}
.confirm-footer>span:first-child{
    border-right: 1px solid #ddd;
    font-weight: 400;
}

#J_dmui-dialog-loading{
  background: no-repeat center center;
  background-color: rgba(0,0,0, .15);
  background-image: url("../images/loading.gif");
}
#J_dmui-dialog-loading .dmui-dialog-box{
  display: none;
}
